/*
 * 根据数据库中的view画图
 * 
 */



package view;

import org.jfree.data.time.TimeSeriesCollection;

import view.jfreechartTest.TimeSeriesExample;

public class DrawTotalBalance {

	public DrawTotalBalance() {

	}

	public static void main(String args[]) {

		String viewName = "merge_swift";

		String chartName = "online banlace chart";

		DrawXYFromDatabase newChart = new DrawXYFromDatabase();

		TimeSeriesExample tse = new TimeSeriesExample(chartName);

		TimeSeriesCollection dataset = new TimeSeriesCollection();

		dataset = newChart.drawXYPlotFromViewSet(viewName,"总金额变化");

		tse.DrawXYChart(dataset);

	}
}